package com.grace.mapper;

import com.grace.entity.Member;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface MemberMapper {


    /**
     * 根据id查询用户
     */
    @Select("select * from member where id=#{id}")
    Member findMemberById(String id);
}
